GetSwitchTime.          Get the switch screen settings.

Request


 

<?xml version="1.0" encoding="utf-8"?>

<sdk guid="##GUID">

<in method="GetSwitchTime"/>

</sdk>

 

<!--

Description:

    1. Sdk.guid is the guid value obtained through the negotiation of the SDK protocol version.

-->

Respond

<?xml version="1.0" encoding="utf-8"?>

<sdk guid="##GUID">

<out method="GetSwitchTime" result="##result">

<open enable="##value"/>

<ploy enable="##value">

<item enable="##value" end="##value" start="##value"/>

</ploy>

</out>

</sdk>

<!--

Description:

    1. Sdk.guid is the guid value obtained through the negotiation of the SDK protocol version.

    2. out.method =GetTimeInfo

    3. out.result (The error code refers to ErrorCode.)

    4. out.result : When the value is not "kSuccess", out has no child nodes.

    5. open.enable : Fixed value "true".

    6. The ploy tag can have multiple item children.

    7. ploy.enable: Whether to open the time period control switch screen, the value range is {"true" (on), "false" (not on)}.

    8. item.enable: Value range {"true" (enable), "false" (not enable)}.

    9. item.start: The time to open the screen, format hh:mm:ss.

    10.item.end: Time to turn off the screen, format hh:mm:ss.

    11.The screen state is turned on during the item.start to item.end time period.

-->